﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using DTO;
namespace Business
{
    public static class MatchBUS
    {
        public static List<MatchDTO> GetMatchList()
        {
            return MatchDAO.GetMatchList();
        }
        public static int CountMatchList()
        {
            return MatchDAO.CountMatchList();
        }
        public static bool AddNewMatch(MatchDTO dtoMatch)
        {
            return MatchDAO.AddNewMatch(dtoMatch);
        }

        public static bool UpdateMatch(MatchDTO dtoMatch)
        {
            return MatchDAO.UpdateMatch(dtoMatch);
        }

        public static bool DeleteAMatch(MatchDTO dtoMatch)
        {
            return MatchDAO.DeleteAMatch(dtoMatch);
        }

        public static bool DeleteAllMatch()
        {
            return MatchDAO.DeleteAllMatch();
        }
    }
}
